package com.wisdytech.linkdcs.equipment.dao;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.wisdytech.linkdcs.equipment.model.Status;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author Yanghu
 * @since 2017-09-16
 */
public interface IEqStatusDao extends BaseMapper<Status> {
    
    /**
     * 
     * <p>Description: 查找设备信息</p>
     * @param params
     * @return
     */
    public List<Status> selectEqStatus(Map<String,String> params);
    
    /**
     * 
     * <p>Description: 统计设备停机时长</p>
     * @param params
     * @return
     */
    public Long countEqStopTime(Map<String,Object> params);
    
    /**
     * 
     * <p>Description: 统计设备停机分析</p>
     * @param params
     * @return
     */
    public List<Status> countEqStopAnalysis(Map<String,String> params);

	public List<Status> selectEqStopTime(Map<String, Object> countParams);
    

}